﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage/MasterPage.master" AutoEventWireup="true" CodeFile="LessonLib.aspx.cs" Inherits="Train_LessonLib" %>

<asp:Content ID="Content1" ContentPlaceHolderID="Titile" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="head" Runat="Server">
<script language="javascript" type="text/javascript">
        function OpenEdit(lessonId)
        {
            window.open("LessonLibView.aspx?LessonId="+lessonId,"","height=300, width=600, top=200, left=200, toolbar=no, menubar=no, scrollbars=no, resizable=no,location=no, status=no");
        }
    </script>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="Content" Runat="Server">

  <InfoLight:WebDataSource ID="Master" runat="server" AutoApply="True" WebDataSetID="WMaster"
                DataMember="Train_LessonLib">
            </InfoLight:WebDataSource><InfoLight:WebDataSource ID="wdsLessonType" runat="server" AutoApply="True" SelectAlias="Usasdb" SelectCommand="select &#13;&#10;Train_LessonType.LId,&#13;&#10;Train_LessonType.LTypeName &#13;&#10;from &#13;&#10;Train_LessonType">
            </InfoLight:WebDataSource>
            <InfoLight:WebDataSource ID="wdsTrainClass" runat="server" AutoApply="True" SelectAlias="Usasdb" SelectCommand="select Train_Class.Id,Train_Class.TClassName,Train_Class.TClassDes from Train_Class">
            </InfoLight:WebDataSource>
            <InfoLight:WebDataSource ID="wdsTrainGoal" runat="server" AutoApply="True" SelectAlias="Usasdb" SelectCommand="select &#13;&#10;Train_TrainGoal.TId,&#13;&#10;Train_TrainGoal.TGoalName &#13;&#10;from &#13;&#10;Train_TrainGoal">
            </InfoLight:WebDataSource>
            <InfoLight:WebDataSource ID="wdsTrainMode" runat="server" SelectAlias="Usasdb" SelectCommand="select &#13;&#10;Train_TrainMode.TId,&#13;&#10;Train_TrainMode.TrainModeName &#13;&#10;from &#13;&#10;Train_TrainMode">
            </InfoLight:WebDataSource>
            <InfoLight:WebDataSource ID="wdsExamineMode" runat="server" SelectAlias="Usasdb"
                SelectCommand="select &#13;&#10;Train_ExamineMode.TId,&#13;&#10;Train_ExamineMode.ExamineModeName &#13;&#10;from &#13;&#10;Train_ExamineMode">
            </InfoLight:WebDataSource>
            <InfoLight:WebDataSource ID="wdsDepartment" runat="server" SelectAlias="Usasdb" SelectCommand="select &#13;&#10;Department.DepartmentId,&#13;&#10;Department.DepartmentName &#13;&#10;from &#13;&#10;Department">
            </InfoLight:WebDataSource>
            <InfoLight:WebDefault ID="WebDefault1" runat="server" DataMember="Train_LessonLib"
                DataSourceID="Master">
                <Fields>
                    <InfoLight:DefaultFieldItem DefaultValue="-1" FieldName="LessonId" />
                </Fields>
            </InfoLight:WebDefault>
            <InfoLight:WebValidate ID="WebValidate1" runat="server" AltRowCss="" DataMember="Train_LessonLib"
                DataSourceID="Master" ForeColor="Red" RowCss=""><Fields>
<InfoLight:ValidateFieldItem FieldName="LessonType" CheckNull="True"></InfoLight:ValidateFieldItem>
<InfoLight:ValidateFieldItem FieldName="TrainGoal" CheckNull="True"></InfoLight:ValidateFieldItem>
<InfoLight:ValidateFieldItem FieldName="TrainMode" CheckNull="True"></InfoLight:ValidateFieldItem>
<InfoLight:ValidateFieldItem FieldName="ExamineMode" CheckNull="True"></InfoLight:ValidateFieldItem>
<InfoLight:ValidateFieldItem FieldName="TrainClass" CheckNull="True"></InfoLight:ValidateFieldItem>
</Fields>
</InfoLight:WebValidate>
<InfoLight:WebNavigator ID="WebNavigator1" runat="server" BindingObject="wgvMaster"
                Width="100%" StatusStrip="WebStatusStrip1" CssClass="NavigatorBar" 
        CtlHeight="25">
                <NavControls>
                    <InfoLight:ControlItem ControlName="Add" ControlText="穝糤" ControlType="Image" ControlVisible="True"
                        ImageUrl="../image/uipics/add_C.gif" MouseOverImageUrl="../image/uipics/add2_C.gif"
                        Size="48" disenableimageurl="../Image/UIPics/add3_C.gif"/>
                    <InfoLight:ControlItem ControlName="Apply" ControlText="郎" ControlType="Image" ControlVisible="True"
                        ImageUrl="../image/uipics/apply_C.gif" MouseOverImageUrl="../image/uipics/apply2_C.gif"
                        Size="48" disenableimageurl="../Image/UIPics/apply3_C.gif"/>
                    <InfoLight:ControlItem ControlName="Abort" ControlText="斌" ControlType="Image" ControlVisible="True"
                        ImageUrl="../image/uipics/abort_C.gif" MouseOverImageUrl="../image/uipics/abort2_C.gif"
                        Size="48" disenableimageurl="../Image/UIPics/abort3_C.gif"/>
                    <InfoLight:ControlItem ControlName="Query" ControlText="琩高" ControlType="Image" ControlVisible="True"
                        ImageUrl="../image/uipics/query_C.gif" MouseOverImageUrl="../image/uipics/query2_C.gif"
                        Size="48" disenableimageurl="../Image/UIPics/query3_C.gif"/>
                </NavControls>
                <NavStates>
                    <InfoLight:WebNavigatorStateItem StateText="Initial" />
                    <InfoLight:WebNavigatorStateItem StateText="Browsed" />
                    <InfoLight:WebNavigatorStateItem StateText="Inserting" />
                    <InfoLight:WebNavigatorStateItem StateText="Editing" />
                    <InfoLight:WebNavigatorStateItem StateText="Applying" />
                    <InfoLight:WebNavigatorStateItem StateText="Changing" />
                    <InfoLight:WebNavigatorStateItem StateText="Querying" />
                    <InfoLight:WebNavigatorStateItem StateText="Printing" />
                </NavStates>
            </InfoLight:WebNavigator>
            
            <InfoLight:WebGridView ID="wgvMaster" runat="server" CellPadding="5" DataSourceID="Master"
            ForeColor="#333333" Width="100%" 
        AbortIconUrl="../Image/UIPics/Abort.gif" AddIconUrl="../Image/UIPics/Add.gif"
            ApplyIconUrl="../Image/UIPics/Apply.gif" CancelIconUrl="../Image/UIPics/Cancel.gif"
            MouseOverAbortIconUrl="../Image/UIPics/Abort2.gif" MouseOverAddIconUrl="../Image/UIPics/Add2.gif"
            MouseOverApplyIconUrl="../Image/UIPics/Apply2.gif" MouseOverCancelIconUrl="../Image/UIPics/Cancel2.gif"
            MouseOverOKIconUrl="../Image/UIPics/OK2.gif" MouseOverQueryIconUrl="../Image/UIPics/Query2.gif"
            OKIconUrl="../Image/UIPics/OK.gif" 
        QueryIconUrl="../Image/UIPics/Query.gif" HeaderStyleWrap="False"
            BackColor="White" BorderColor="White" BorderStyle="Groove" 
        BorderWidth="2px" EditURL="../Train/LessonLibEdit.aspx" OpenEditWidth="600" 
        OpenEditHeight="300">
            <PagerSettings Mode="NumericFirstLast" />
            <FooterStyle BackColor="#507CD1" ForeColor="White" Font-Bold="True"></FooterStyle>
            <NavControls>
                <InfoLight:ControlItem ControlVisible="True" Size="25" MouseOverImageUrl="../image/uipics/add2.gif"
                    ControlText="add" ControlName="Add" ControlType="Image" ImageUrl="../image/uipics/add.gif">
                </InfoLight:ControlItem>
                <InfoLight:ControlItem ControlVisible="True" Size="25" MouseOverImageUrl="../image/uipics/ok2.gif"
                    ControlText="Insert" ControlName="OK" ControlType="Image" ImageUrl="../image/uipics/ok.gif">
                </InfoLight:ControlItem>
                <InfoLight:ControlItem ControlVisible="True" Size="25" MouseOverImageUrl="../image/uipics/cancel2.gif"
                    ControlText="cancel" ControlName="Cancel" ControlType="Image" ImageUrl="../image/uipics/cancel.gif">
                </InfoLight:ControlItem>
            </NavControls>
            <Columns>
                <asp:TemplateField ShowHeader="False">
                    <edititemtemplate>
<asp:ImageButton id="ImageButton1" runat="server" Text="Update" __designer:wfdid="w263" CommandName="Update" ImageUrl="~/Image/UIPics/OK.gif" CausesValidation="True"></asp:ImageButton>&nbsp;<asp:ImageButton id="ImageButton2" runat="server" Text="Cancel" __designer:wfdid="w264" CommandName="Cancel" ImageUrl="~/Image/UIPics/Cancel.gif" CausesValidation="False"></asp:ImageButton> 
</edititemtemplate>
                    <headerstyle wrap="False" Width="100px" />
                    <itemtemplate>
<asp:ImageButton id="ImageButton3" runat="server" Text="Edit" __designer:wfdid="w260" CommandName="Edit" ImageUrl="~/Image/UIPics/Edit.gif" CausesValidation="False"></asp:ImageButton>&nbsp;<asp:ImageButton id="ImageButton4" runat="server" Text="Delete" __designer:wfdid="w261" CommandName="Delete" ImageUrl="~/Image/UIPics/Delete.gif" CausesValidation="False"></asp:ImageButton>&nbsp;
<img src="../Image/UIPics/Select.gif" alt="查看" style="cursor:pointer" onclick="OpenEdit('<%#Eval("LessonId") %>')" />
</itemtemplate>
                   
                </asp:TemplateField>
                <asp:TemplateField HeaderText="编号" SortExpression="LessonId">
                    <edititemtemplate>
<asp:Label id="Label1" runat="server" Width="100px" Text='<%# Eval("LessonId") %>' __designer:wfdid="w258"></asp:Label> 
</edititemtemplate>
                    <footertemplate>
<asp:Label id="Label1" runat="server" Width="100px" Text='<%# Eval("LessonId") %>' __designer:wfdid="w259"></asp:Label> 
</footertemplate>
                    <itemtemplate>
<asp:Label id="Label1" runat="server" Width="100px" Text='<%# Bind("LessonId") %>' __designer:wfdid="w257"></asp:Label> 
</itemtemplate>
                </asp:TemplateField>
                <asp:TemplateField HeaderText="名称" SortExpression="LessonName">
                    <edititemtemplate>
<asp:TextBox id="TextBox1" runat="server" Width="120px" Text='<%# Bind("LessonName") %>' __designer:wfdid="w95"></asp:TextBox>
</edititemtemplate>
                    <footertemplate>
<asp:TextBox id="TextBox1" runat="server" Width="120px" Text='<%# Bind("LessonName") %>' __designer:wfdid="w96"></asp:TextBox>
</footertemplate>
                    <itemtemplate>
<asp:Label id="Label2" runat="server" Width="120px" Text='<%# Bind("LessonName") %>' __designer:wfdid="w94"></asp:Label>
</itemtemplate>
                </asp:TemplateField>
                <asp:TemplateField HeaderText="摘要" SortExpression="LessonSummary">
                    <edititemtemplate>
<asp:TextBox id="TextBox2" runat="server" Width="120px" Text='<%# Bind("LessonSummary") %>' __designer:wfdid="w98"></asp:TextBox>
</edititemtemplate>
                    <footertemplate>
<asp:TextBox id="TextBox2" runat="server" Width="120px" Text='<%# Bind("LessonSummary") %>' __designer:wfdid="w99"></asp:TextBox>
</footertemplate>
                    <itemtemplate>
<asp:Label id="Label3" runat="server" Width="120px" Text='<%# Bind("LessonSummary") %>' __designer:wfdid="w97"></asp:Label>
</itemtemplate>
                </asp:TemplateField>
                <asp:TemplateField HeaderText="课程性质" SortExpression="LessonType" Visible="False">
                    <edititemtemplate>
<InfoLight:WebDropDownList id="WebDropDownList1" runat="server" Width="80px" DataSourceID="wdsLessonType" __designer:wfdid="w146" SelectedValue='<%# Bind("LessonType") %>' AutoInsertEmptyData="False" Filter FilterObject OnlyShowSelectText="False" DriverObject DataTextField="LTypeName" DataValueField="LId"></InfoLight:WebDropDownList> 
</edititemtemplate>
                    <footertemplate>
<InfoLight:WebDropDownList id="WebDropDownList1" runat="server" Width="80px" DataSourceID="wdsLessonType" __designer:wfdid="w147" SelectedValue='<%# Bind("LessonType") %>' AutoInsertEmptyData="False" Filter FilterObject OnlyShowSelectText="False" DriverObject DataTextField="LTypeName" DataValueField="LId"></InfoLight:WebDropDownList> 
</footertemplate>
                    <itemtemplate>
<InfoLight:WebDropDownList id="WebDropDownList1" runat="server" Width="80px" DataSourceID="wdsLessonType" __designer:wfdid="w145" SelectedValue='<%# Bind("LessonType") %>' AutoInsertEmptyData="False" Filter FilterObject OnlyShowSelectText="False" DriverObject DataTextField="LTypeName" DataValueField="LId" Enabled="False"></InfoLight:WebDropDownList> 
</itemtemplate>
                </asp:TemplateField>
                <asp:TemplateField HeaderText="培训分类" SortExpression="TrainClass">
                    <edititemtemplate>
<InfoLight:WebDropDownList id="WebDropDownList2" runat="server" DataSourceID="wdsTrainClass" Width="120px" __designer:wfdid="w2" DataValueField="Id" DataTextField="TClassName" DriverObject OnlyShowSelectText="False" FilterObject Filter AutoInsertEmptyData="False" SelectedValue='<%# Bind("TrainClass") %>'></InfoLight:WebDropDownList> 
</edititemtemplate>
                    <footertemplate>
<InfoLight:WebDropDownList id="WebDropDownList2" runat="server" DataSourceID="wdsTrainClass" Width="120px" __designer:wfdid="w3" DataValueField="Id" DataTextField="TClassName" DriverObject OnlyShowSelectText="False" FilterObject Filter AutoInsertEmptyData="False" SelectedValue='<%# Bind("TrainClass") %>'></InfoLight:WebDropDownList> 
</footertemplate>
                    <itemtemplate>
<InfoLight:WebDropDownList id="WebDropDownList2" runat="server" DataSourceID="wdsTrainClass" Width="120px" __designer:wfdid="w1" Enabled="False" DataValueField="Id" DataTextField="TClassName" DriverObject OnlyShowSelectText="True" FilterObject Filter AutoInsertEmptyData="False" SelectedValue='<%# Bind("TrainClass") %>'></InfoLight:WebDropDownList> 
</itemtemplate>
                </asp:TemplateField>
                <asp:TemplateField HeaderText="课时" SortExpression="LessonTime">
                    <edititemtemplate>
<asp:TextBox id="TextBox3" runat="server" Width="120px" Text='<%# Bind("LessonTime") %>' __designer:wfdid="w88"></asp:TextBox> 
</edititemtemplate>
                    <footertemplate>
<asp:TextBox id="TextBox3" runat="server" Width="120px" Text='<%# Bind("LessonTime") %>' __designer:wfdid="w89"></asp:TextBox> 
</footertemplate>
                    <itemtemplate>
<asp:Label id="Label4" runat="server" Width="120px" Text='<%# Bind("LessonTime") %>' __designer:wfdid="w106"></asp:Label> 
</itemtemplate>
                </asp:TemplateField>
                <asp:TemplateField HeaderText="讲师" SortExpression="LessonTech" Visible="False">
                    <edititemtemplate>
<asp:TextBox id="TextBox4" runat="server" Width="90px" Text='<%# Bind("LessonTech") %>' __designer:wfdid="w110"></asp:TextBox>
</edititemtemplate>
                    <footertemplate>
<asp:TextBox id="TextBox4" runat="server" Width="90px" Text='<%# Bind("LessonTech") %>' __designer:wfdid="w111"></asp:TextBox>
</footertemplate>
                    <itemtemplate>
<asp:Label id="Label5" runat="server" Width="91px" Text='<%# Bind("LessonTech") %>' __designer:wfdid="w109"></asp:Label>
</itemtemplate>
                </asp:TemplateField>
                <asp:TemplateField HeaderText="部门编码" SortExpression="DepId">
                    <edititemtemplate>
<InfoLight:WebDropDownList id="WebDropDownList6" runat="server" DataSourceID="wdsDepartment" Width="120px" __designer:wfdid="w8" DataValueField="DepartmentId" DataTextField="DepartmentName" DriverObject OnlyShowSelectText="False" FilterObject Filter AutoInsertEmptyData="False" SelectedValue='<%# Bind("DepId") %>'></InfoLight:WebDropDownList> 
</edititemtemplate>
                    <footertemplate>
<InfoLight:WebDropDownList id="WebDropDownList6" runat="server" DataSourceID="wdsDepartment" Width="120px" __designer:wfdid="w9" DataValueField="DepartmentId" DataTextField="DepartmentName" DriverObject OnlyShowSelectText="False" FilterObject Filter AutoInsertEmptyData="False" SelectedValue='<%# Bind("DepId") %>'></InfoLight:WebDropDownList> 
</footertemplate>
                    <itemtemplate>
<InfoLight:WebDropDownList id="WebDropDownList6" runat="server" DataSourceID="wdsDepartment" Width="120px" __designer:wfdid="w7" Enabled="False" DataValueField="DepartmentId" DataTextField="DepartmentName" DriverObject OnlyShowSelectText="True" FilterObject Filter AutoInsertEmptyData="False" SelectedValue='<%# Bind("DepId") %>'></InfoLight:WebDropDownList> 
</itemtemplate>
                </asp:TemplateField>
                <asp:TemplateField HeaderText="培训目标" SortExpression="TrainGoal" Visible="False">
                    <edititemtemplate>
<InfoLight:WebDropDownList id="WebDropDownList3" runat="server" DataSourceID="wdsTrainGoal" Width="80px" __designer:wfdid="w5" DataValueField="TId" DataTextField="TGoalName" DriverObject OnlyShowSelectText="False" FilterObject Filter AutoInsertEmptyData="False" SelectedValue='<%# Bind("TrainGoal") %>'></InfoLight:WebDropDownList> 
</edititemtemplate>
                    <footertemplate>
<InfoLight:WebDropDownList id="WebDropDownList3" runat="server" DataSourceID="wdsTrainGoal" Width="80px" __designer:wfdid="w6" DataValueField="TId" DataTextField="TGoalName" DriverObject OnlyShowSelectText="False" FilterObject Filter AutoInsertEmptyData="False" SelectedValue='<%# Bind("TrainGoal") %>'></InfoLight:WebDropDownList> 
</footertemplate>
                    <itemtemplate>
<InfoLight:WebDropDownList id="WebDropDownList3" runat="server" DataSourceID="wdsTrainGoal" Width="80px" __designer:wfdid="w4" Enabled="False" DataValueField="TId" DataTextField="TGoalName" DriverObject OnlyShowSelectText="False" FilterObject Filter AutoInsertEmptyData="False" SelectedValue='<%# Bind("TrainGoal") %>'></InfoLight:WebDropDownList> 
</itemtemplate>
                </asp:TemplateField>
                <asp:TemplateField HeaderText="培训方式" SortExpression="TrainMode" Visible="False">
                    <edititemtemplate>
<InfoLight:WebDropDownList id="WebDropDownList4" runat="server" DataSourceID="wdsTrainMode" Width="80px" SelectedValue='<%# Bind("TrainMode") %>' AutoInsertEmptyData="False" Filter FilterObject OnlyShowSelectText="False" DriverObject DataTextField="TrainModeName" DataValueField="TId" __designer:wfdid="w70"></InfoLight:WebDropDownList> 
</edititemtemplate>
                    <footertemplate>
<InfoLight:WebDropDownList id="WebDropDownList4" runat="server" DataSourceID="wdsTrainMode" Width="80px" SelectedValue='<%# Bind("TrainMode") %>' AutoInsertEmptyData="False" Filter FilterObject OnlyShowSelectText="False" DriverObject DataTextField="TrainModeName" DataValueField="TId" __designer:wfdid="w71"></InfoLight:WebDropDownList> 
</footertemplate>
                    <itemtemplate>
<InfoLight:WebDropDownList id="WebDropDownList4" runat="server" DataSourceID="wdsTrainMode" Width="80px" SelectedValue='<%# Bind("TrainMode") %>' AutoInsertEmptyData="False" Filter FilterObject OnlyShowSelectText="False" DriverObject DataTextField="TrainModeName" DataValueField="TId" Enabled="False" __designer:wfdid="w69"></InfoLight:WebDropDownList> 
</itemtemplate>
                </asp:TemplateField>
                <asp:TemplateField HeaderText="考核方式" SortExpression="ExamineMode" Visible="False">
                    <edititemtemplate>
<InfoLight:WebDropDownList id="WebDropDownList5" runat="server" DataSourceID="wdsExamineMode" Width="80px" SelectedValue='<%# Bind("ExamineMode") %>' AutoInsertEmptyData="False" Filter FilterObject OnlyShowSelectText="False" DriverObject DataTextField="ExamineModeName" DataValueField="TId" __designer:wfdid="w74"></InfoLight:WebDropDownList> 
</edititemtemplate>
                    <footertemplate>
<InfoLight:WebDropDownList id="WebDropDownList5" runat="server" DataSourceID="wdsExamineMode" Width="80px" SelectedValue='<%# Bind("ExamineMode") %>' AutoInsertEmptyData="False" Filter FilterObject OnlyShowSelectText="False" DriverObject DataTextField="ExamineModeName" DataValueField="TId" __designer:wfdid="w75"></InfoLight:WebDropDownList> 
</footertemplate>
                    <itemtemplate>
<InfoLight:WebDropDownList id="WebDropDownList5" runat="server" DataSourceID="wdsExamineMode" Width="80px" SelectedValue='<%# Bind("ExamineMode") %>' AutoInsertEmptyData="False" Filter FilterObject OnlyShowSelectText="False" DriverObject DataTextField="ExamineModeName" DataValueField="TId" Enabled="False" __designer:wfdid="w73"></InfoLight:WebDropDownList> 
</itemtemplate>
                </asp:TemplateField>
                <asp:TemplateField HeaderText="培训约束" SortExpression="TrainLimit" Visible="False">
                    <edititemtemplate>
<asp:TextBox id="TextBox5" runat="server" Width="120px" Text='<%# Bind("TrainLimit") %>' __designer:wfdid="w125"></asp:TextBox>
</edititemtemplate>
                    <footertemplate>
<asp:TextBox id="TextBox5" runat="server" Width="120px" Text='<%# Bind("TrainLimit") %>' __designer:wfdid="w126"></asp:TextBox>
</footertemplate>
                    <itemtemplate>
<asp:Label id="Label6" runat="server" Width="120px" Text='<%# Bind("TrainLimit") %>' __designer:wfdid="w124"></asp:Label>
</itemtemplate>
                </asp:TemplateField>
                <asp:TemplateField HeaderText="培训教材" SortExpression="TeachingMaterial" Visible="False">
                    <edititemtemplate>
<asp:TextBox id="TextBox6" runat="server" Width="120px" Text='<%# Bind("TeachingMaterial") %>' __designer:wfdid="w128"></asp:TextBox>
</edititemtemplate>
                    <footertemplate>
<asp:TextBox id="TextBox6" runat="server" Width="120px" Text='<%# Bind("TeachingMaterial") %>' __designer:wfdid="w129"></asp:TextBox>
</footertemplate>
                    <itemtemplate>
<asp:Label id="Label7" runat="server" Width="120px" Text='<%# Bind("TeachingMaterial") %>' __designer:wfdid="w127"></asp:Label>
</itemtemplate>
                </asp:TemplateField>
            </Columns>
            <RowStyle BackColor="#EFF3FB"></RowStyle>
            <EditRowStyle BackColor="#2461BF"></EditRowStyle>
            <SelectedRowStyle BackColor="#D1DDF1" ForeColor="#333333" Font-Bold="True"></SelectedRowStyle>
            <PagerStyle BackColor="LightBlue" ForeColor="White" HorizontalAlign="Center"></PagerStyle>
            <HeaderStyle BackColor="DeepSkyBlue" ForeColor="White" Font-Bold="True"></HeaderStyle>
            <AlternatingRowStyle BackColor="White" BorderColor="White"></AlternatingRowStyle>
            <AddNewRowControls>
                <InfoLight:AddNewRowControlItem ControlID="WebDropDownList1" ControlType="DropDownList"
                    FieldName="LessonType" />
                <InfoLight:AddNewRowControlItem ControlID="WebDropDownList2" ControlType="DropDownList"
                    FieldName="TrainClass" />
                <InfoLight:AddNewRowControlItem ControlID="WebDropDownList6" ControlType="DropDownList"
                    FieldName="DepId" />
                <InfoLight:AddNewRowControlItem ControlID="WebDropDownList3" ControlType="DropDownList"
                    FieldName="TrainGoal" />
                <InfoLight:AddNewRowControlItem ControlID="WebDropDownList4" ControlType="DropDownList"
                    FieldName="TrainMode" />
                <InfoLight:AddNewRowControlItem ControlID="WebDropDownList5" ControlType="DropDownList"
                    FieldName="ExamineMode" />
            </AddNewRowControls>
        </InfoLight:WebGridView>        
</asp:Content>

